

#include "MDIView.h"


QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Gui__MDIView[] = {

	// content:
	2,       // revision
	0,       // classname
	0,    0, // classinfo
	2,   12, // methods
	0,    0, // properties
	0,    0, // enums/sets
	0,    0, // constructors

	// signals: signature, parameters, type, tag, flags
	16,   14,   13,   13, 0x05,

	// slots: signature, parameters, type, tag, flags
	37,   13,   13,   13, 0x09,

	0        // eod
};

static const char qt_meta_stringdata_Gui__MDIView[] = {
	"Gui::MDIView\0\0,\0message(QString,int)\0"
	"windowStateChanged(MDIView*)\0"
};

const QMetaObject MDIView::staticMetaObject = {
	{ &QMainWindow::staticMetaObject, qt_meta_stringdata_Gui__MDIView,
	qt_meta_data_Gui__MDIView, 0 }
};

const QMetaObject *MDIView::metaObject() const
{
	return &staticMetaObject;
}

void *MDIView::qt_metacast(const char *_clname)
{
	if (!_clname) return 0;
	if (!strcmp(_clname, qt_meta_stringdata_Gui__MDIView))
		return static_cast<void*>(const_cast< MDIView*>(this));
	if (!strcmp(_clname, "BaseView"))
		return static_cast< BaseView*>(const_cast< MDIView*>(this));
	return QMainWindow::qt_metacast(_clname);
}

int MDIView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
	_id = QMainWindow::qt_metacall(_c, _id, _a);
	if (_id < 0)
		return _id;
	if (_c == QMetaObject::InvokeMetaMethod) {
		switch (_id) {
		case 0: message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
		//case 1: windowStateChanged((*reinterpret_cast< MDIView*(*)>(_a[1]))); break;
		default: ;
		}
		_id -= 2;
	}
	return _id;
}

// SIGNAL 0
void MDIView::message(const QString & _t1, int _t2)
{
	void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
	QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
